<div style="width:60%;">
<?php echo $this->Form->create('User', array('onsubmit' => "return (document.getElementById('UserUsername').value && document.getElementById('UserPassword').value) ? true : false;"));?>
	<fieldset>
 		<legend><?php __('User Login'); ?></legend>
	<?php
		echo $this->Form->input('username');
		echo $this->Form->input('password');
	?>
	</fieldset>
<?php echo $this->Form->end(__('Submit', true));?>
</div>